﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BRMC.IntelligentCommunity.IntelligentCommunity.Parkings
{
  public  class CarInfo : FullAuditedEntity<long>
    {
        /// <summary>
        /// 车号
        /// </summary>
        public string CarNum { set; get; }

        /// <summary>
        /// 车辆品牌
        /// </summary>
        public string VehicleBrand { set; get; }
        /// <summary>
        /// 车牌颜色
        /// </summary>
        public string LicenseColor { set; get; }

        /// <summary>
        /// 进厂时间
        /// </summary>
        public DateTime? BeginTime { set; get; }
        /// <summary>
        /// 离场时间
        /// </summary>
        public DateTime? EndTime { set; get; }
        /// <summary>
        /// 公司id 租户ID
        /// </summary>
        public int? TenantId { get; set; }
        /// <summary>
        /// 小区Id
        /// </summary>
        public long? Neighbourhood_id { get; set; }
        /// <summary>
        /// 小区名称
        /// </summary>
        public string Neighbourhood_name { get; set; }

        /// <summary>
        /// 停车场编号
        /// </summary>
        public string ParkingCode { get; set; }
        /// <summary>
        /// 停车场ID
        /// </summary>
        public long ParkingId { get; set; }
        /// <summary>
        /// 停车场名称
        /// </summary>
        public string ParkingName { get; set; }





        /// <summary>
        /// 车辆类型0临时车 1固定车2月租车3 月租-临时
        /// </summary>
        public int CarType { set; get; }
        /// <summary>
        /// 车辆类型0正常 1月租到期 2异常(黑名单)
        /// </summary>
        public int CarStatus { set; get; }
        #region
        /// <summary>
        /// 用户ID
        /// </summary>
        public long Userid { set; get; }
        /// <summary>
        /// 车辆颜色
        /// </summary>
        public int CarColor { set; get; }
        /// <summary>
        /// /申请时间，物业直接添加车辆时，为当前时间
        /// </summary>
        public DateTime Apply_time { set; get; }
        /// <summary>
        /// 审核状态，0－审核通过或由物业直接增加的；1－客户申请；2－审核未通过
        /// </summary>
        public int Audit_status { set; get; }
        /// <summary>
        /// 客户是否可见，0－是；1－否
        /// </summary>
        public int Isshow { set; get; }
        /// <summary>
        /// 车位Id
        /// </summary>
        public long PlaceId { set; get; }
        /// <summary>
        /// 描述，未通过时记录原因
        /// </summary>
        public string Remark { set; get; }
        #endregion
    }
}
